This is all working now so it's in good shape. Able to get it up yesterday.
Good stuff!
On Friday, November 15, 2013 1:27:06 AM UTC-8, Jo wrote:
> There's no call to invoke your class, and there's no closing bracket on
> the testcontents class. I think you only need to put the closing bracket,
> and then outside of the class invoke it. You also don't need inheritance.
> So like
>
> somefile.pp:
> class { 'mumble::testcontents': } # this is your invocation
>
> class mumble {}
> …etc
>
> On Nov 14, 2013, at 1:46 PM, Stuart Cracraft
> <[email protected]<javascript:>>
> wrote:
>
>
> somefile.pp
>
> class mumble {
> }
>
> class mumble::testcontents inherits mumble {
> file { "/tmp/testfile":
> path => "/tmp/testfile,
> ensure => present,
> mode => 0640,
> content => "I am a test file.",
>
>
>
> puppet parser validate passed it.
>
> puppet apply says it is run
>
> yet no /tmp/testfile appears
>
> the puppet master is running and this is being done on the puppet master.
> the agent on the puppet master is running.
>
>
> --
> 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] <javascript:>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/26c6e69c-76e4-4ff6-a4ed-b07aa6ae7957%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> --
> Jo Rhett
> Net Consonance : net philanthropy to improve open source and
> internet projects.
>
> Author of Instant Puppet 3 Starter:
> http://www.netconsonance.com/instant-puppet-3-starter-book/
>
>
>
>
--
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/fe9ca629-e044-4dd6-a692-c0e3531023b8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.