OS Ubuntu
The (test) script itself run.
The script content:
#!/bin/sh
mkdir /home/works01
I found this site.pp conf->
It is work the puppet agent ---test but the get-data.sh will not run.
define get-data() {
file { "/usr/bin/data":
owner => "root",
group => "wheel",
mode => "755",
purge => true,
recurse => true,
source => "puppet://puppet/data/bin/";
}
file { "/usr/bin/data/get-data.sh":
owner => "root",
group => "wheel",
mode => "755",
source => "puppet://puppet/data/bin/get-data.sh";
}
exec { "/usr/bin/data/get-data.sh restart":
subscribe => File["/usr/bin/data/get-data.sh"],
refreshonly => true;
}
}
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/b3dad75b-e8f9-469f-b3c1-84a619994a89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.