I have several hundred nodes I'm migrating to being managed by Puppet. We 
do have a handful of older servers that can't run Puppet (RH8 etc), and 
won't be upgraded any time soon, unfortunately. I'd like to be able to have 
an 'artificial' node created with accurate inventory data displayed in 
Puppet Dashboard.  I realize that the inventory information accuracy will 
be dependent on my statically generated yaml content (uploaded via REST 
API), and I'm fine with that.  

I do have a fully functioning server with CentOS 6 / Puppet 2.7.11-2 / 
Puppet Dashboard 1.2.6-1.  It's just this last bit that I'm trying to sort 
out.

What I've been trying is:
puppet cert --generate test.example.org
puppet agent --certname test.example.org -tv    # this is run on Puppet 
master as part of the node being displayed in the Dashboard
curl -k -X PUT -H 'Content-Type: text/yaml' --data-binary 
@/root/test.example.org.yaml 
https://localhost:8140/production/facts/test.example.org  

As far as I can tell, these steps should work, but after step 2, any 
certificate generated is immediately revoked. 

Can anyone offer any insight or better recommendations on how to accomplish 
this?

Brian Green

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/rIhS3bqoN40J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to