On Tue, Feb 8, 2011 at 10:38 PM, chakra <chakrapan...@gmail.com> wrote:
> Hello,
>
> I tried using config_version with my simple shell script which returns
> my SVN revision number. but  puppet doesn't seem to be applying the
> config version in the logs.
>
> More Details
> Puppet Master/Client Version: 2.6.4
> config_version = /usr/loca/bin/get_revision ( this line is placed
> under [master] section in puppet.conf)

config_version is associated with environments, so place it under
[main] or an environment (production is implied default),

[production]
    config_version = /bin/date

> when i run the script manually i get the following output.
> Revision: xxx

Can you execute the script as the puppet user? The daemon runs as the
puppet user.

Try /bin/date first and make sure you configuration is working first
before using your custom script.

Thanks,

Nan

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to