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]> 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].
> 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/6AB7C545-A884-47DF-91A2-E3DC34EE52BB%40netconsonance.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to