Issue #23103 has been reported by igor ngouagna.

----------------------------------------
Bug #23103: stand-alone mode: puppet apply fail with "could not find class..."
https://projects.puppetlabs.com/issues/23103

* Author: igor ngouagna
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 3.3.1
* Keywords: stand-alone puppet apply
* Branch: 
----------------------------------------
Hi,

I'm using puppet 3.3.1, in a stand-alone mode.

When I try running "puppet apply init.pp", it ends up failling with a message 
like:

Error: Could not find class test::preparehost for clouderatest-vm.local1.domain 
on node clouderatest-vm.local1.domain 
Error: Could not find class test::preparehost for clouderatest-vm.local1.domain 
on node clouderatest-vm.local1.domain 

Environment:
OS: Centos 6.4 64bits

reproduce the bug: 
- install puppet using the puppetLabs repo: 
http://docs.puppetlabs.com/guides/installation.html

test project: create the followings in /tmp
test
└── manifests
    ├── init.pp
    ├── preparehost
    │   └── params.pp
    └── preparehost.pp

$cat init.pp:
notify{"here we go":
}
include test::preparehost

$cat preparehost.pp
class test::preparehost inherits test::preparehost::params {
  #curl
  notify{$myname:
  } ->
  package{'curl':
    ensure => installed
  }

$cat params.pp
class test::preparehost::params{
  $myname = "ulky"
}

- go into the /tmp/test/manifests folder, and run "puppet apply init.pp"

Thanks.



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to