I have the class below and it doens;t work. That it is, it does work if I
run it twice. On the second puppet-run everything works, on the first it
doesn't run the third, because of failed dependencies.

Any suggestions?

class ebssnapshot::prepare {

        exec{"netamzonec2a":
                command => "export PERL_MM_USE_DEFAULT=1; cpan o conf
prerequisites_policy follow",
            }

        exec{"netamzonec2b":
                command => "cpan o conf commit",
                require => Exec["netamzonec2a"]
            }

        exec{"netamzonec2c":
                command => "cpan -i Net::Amazon::EC2",
                require => Exec["netamzonec2b"]
            }
}

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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