Hi Tibor,
working through the learning VM from puppetlabs at
https://puppetlabs.com/download-learning-vm
will provide you with working knowledge how to debug this and other
issues in your puppet deployment.
Regards, David
On 2014-06-02 10:14, Tibor Malomsoki wrote:
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]
<mailto:[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
<https://groups.google.com/d/msgid/puppet-users/b3dad75b-e8f9-469f-b3c1-84a619994a89%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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/538C36EB.1000900%40dasz.at.
For more options, visit https://groups.google.com/d/optout.