What does the custom facter variable contain?

On Sat, Apr 21, 2012 at 08:03:32AM -0700, thinkwell wrote:
>    Ahah, I made a custom FACTER variable in my .bashrc file and that bash
>    environment variable isn't run by cron.  So that's my problem... I'll need
>    to research how to pass a custom FACTER variable to a cron script and have
>    it be accessible at script run time.
> 
>    On Thursday, April 19, 2012 3:43:16 PM UTC-4, thinkwell wrote:
> 
>      I only need to run puppet weekly, so I made this little shell script and
>      put in the the /etc/cron.weekly folder, but it's not running. If I run
>      the script manually, it works just fine. Why not from cron?
> 
>      #!/bin/bash
> 
>      #################################
>      # Cron job managed by Puppet
>      #################################
> 
>      # Randomize 15 minutes to avoid overloading server
>      sleep $((RANDOM % 900))
>      exec puppet agent --no-daemonize --onetime
> 
>    --
>    You received this message because you are subscribed to the Google Groups
>    "Puppet Users" group.
>    To view this discussion on the web visit
>    [1]https://groups.google.com/d/msg/puppet-users/-/pN4AXumKJeYJ.
>    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.
> 
> References
> 
>    Visible links
>    1. https://groups.google.com/d/msg/puppet-users/-/pN4AXumKJeYJ

-- 
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