Oh... is it because I have this in my site.pp:
stage { pre: before => Stage[main] }
class { "gu_splunk::solaris_old": stage => pre }
If so then whats the correct way of doing what I am trying to do?
Thanks a lot,
Mohamed.
On Sun, Apr 17, 2011 at 2:15 PM, Mohamed Lrhazi <[email protected]> wrote:
> I have code like this:
>
> case "$operatingsystem" {
> "redhat": {
> include gu_splunk::redhat
> }
> "solaris": {
> include gu_splunk::solaris_old
> include gu_splunk::solaris
> }
> }
>
> In gu_splunk::solaris_old I have an Exec like this:
>
> exec { "download_pkgrm_adminfile":
> command => "wget -q -O /tmp/$pkgrm_adminfile http://... ",
> timeout => 60,
> creates => "/tmp/$pkgrm_adminfile",
> }
>
> Running puppet agent on a RedHat machine causes the Exec to execute
> and the file to get downloaded!!
>
> Why?
>
> Thanks a lot.
> Mohamed.
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.