Sha256: 2cc68ce3ed47bae3f472c2edbbb928ae44b4f4d68fd211749b64ddda2ee2fc3c

Contents?: true

Size: 534 Bytes

Versions: 107

Compression:

Stored size: 534 Bytes

Contents

#!/usr/bin/env puppet
# Jeff McCune <mccune@math.ohio-state.edu>
#
# Apple's Automounter spawns a child that sends the parent
# a SIGTERM.  This makes it *very* difficult to figure out
# if the process started correctly or not.
#

service {"automount-test":
    provider => base,
    hasrestart => false,
    pattern => '/tmp/hometest',
    start => "/usr/sbin/automount -m /tmp/home /dev/null -mnt /tmp/hometest",
    stop => "ps auxww | grep '/tmp/hometest' | grep -v grep | awk '{print \$2}' | xargs kill",
    ensure => running
}

Version data entries

107 entries across 107 versions & 3 rubygems

Version Path
puppet-2.7.26 examples/mac_automount.pp
puppet-2.7.25 examples/mac_automount.pp
puppet-2.7.24 examples/mac_automount.pp
puppet-3.3.2 examples/mac_automount.pp
puppet-3.3.1 examples/mac_automount.pp
puppet-3.3.1.rc3 examples/mac_automount.pp
puppet-3.3.1.rc2 examples/mac_automount.pp
puppet-3.3.1.rc1 examples/mac_automount.pp
puppet-3.3.0 examples/mac_automount.pp
puppet-3.3.0.rc3 examples/mac_automount.pp
puppet-3.3.0.rc2 examples/mac_automount.pp
puppet-3.2.4 examples/mac_automount.pp
puppet-2.7.23 examples/mac_automount.pp
puppet-3.2.3 examples/mac_automount.pp
puppet-3.2.3.rc1 examples/mac_automount.pp
puppet-3.2.2 examples/mac_automount.pp
puppet-2.7.22 examples/mac_automount.pp
puppet-3.2.1 examples/mac_automount.pp
puppet-3.2.1.rc1 examples/mac_automount.pp
puppet-3.2.0.rc2 examples/mac_automount.pp