Project

General

Profile

Bug #91

couldn't import puppet classes in non-storeconfig environment

Added by Nikolay Aralovets over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Category:
Importers
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

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)
  • 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

my_puppet.conf my_puppet.conf 388 Bytes Nikolay Aralovets, 11/26/2009 10:22 AM

History

#1 Updated by Ohad Levy over 9 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).

#2 Updated by Ohad Levy over 9 years ago

  • Assignee changed from Ohad Levy to Nikolay Aralovets

#3 Updated by Nikolay Aralovets over 9 years ago

Yes, I not use modules :(
I will try to create the module and to execute export
Thanks for the help

#4 Updated by Ohad Levy over 9 years ago

  • Status changed from Feedback to Rejected

Also available in: Atom PDF