Actions
Bug #91
closedcouldn't import puppet classes in non-storeconfig environment
Description
Hello,
I try to configure puppet + foreman. Foreman untar into foreman-nightly.tar.bz2 (25.11.2009). Puppet and foreman run on same host. My puppet site contain only one Class - "test_class" - and one node. I do the folowing:
1. Run puppetmasterd with config (see attach);
2. cd /var/rails/foreman
3. Run RAILS_ENV=production rake db:migrate
4. Run RAILS_ENV=production rake puppet:import:puppet_classes --trace
(in /var/rails/foreman)
I try to configure puppet + foreman. Foreman untar into foreman-nightly.tar.bz2 (25.11.2009). Puppet and foreman run on same host. My puppet site contain only one Class - "test_class" - and one node. I do the folowing:
1. Run puppetmasterd with config (see attach);
2. cd /var/rails/foreman
3. Run RAILS_ENV=production rake db:migrate
4. Run RAILS_ENV=production rake puppet:import:puppet_classes --trace
(in /var/rails/foreman)
- Invoke puppet:import:puppet_classes (first_time)
- Invoke environment (first_time)
- Execute environment
- Execute puppet:import:puppet_classes
Environment old:1 current:1
PuppetClasses old:0 current:0
Export node into foreman works
Best wishes, Nikolay
Files
Updated by Ohad Levy over 15 years ago
- Status changed from New to Feedback
I assume that you are not using modules, I will update the documentation that only when using modules you can import classes.
(other wise there is no relationship to an environment - and thats the right way to do it anyway).
Updated by Ohad Levy over 15 years ago
- Assignee changed from Ohad Levy to Nikolay Aralovets
Updated by Nikolay Aralovets over 15 years ago
Yes, I not use modules :(
I will try to create the module and to execute export
Thanks for the help
Actions