[Puppet Users] API access without using TLS for VMware Orchestrator

2015-05-06 Thread Erling Ringen Elvsrud
Hi! We use VMware Orchestrator for provisioning and needs to integrate it with Puppet Enterprise 3.7.2. Orchestrator needs to access the certificate_status API endpoint like this (just an example with curl): curl --insecure -H "Accept: pson" https://mypuppetca.local/8140/production/certifi

[Puppet Users] Exec on a node causing action on another node?

2015-02-26 Thread Erling Ringen Elvsrud
Hi I try to solve the following case: I have a bash script, cert_check.sh which is used to check Jboss certificates. The script returns 0 if certs are still valid, 1 if they are about to expire and 2 if they are already expired. The script should be executed on all jboss nodes which is possibl

Re: [Puppet Users] Very large resource_statuses. reports:prune:orphaned fails with Mysql error

2014-08-13 Thread Erling Ringen Elvsrud
On Tuesday, August 12, 2014 5:58:34 PM UTC+2, Ramin K wrote: > > On 8/12/2014 8:54 AM, Ramin K wrote: > [...] > > You could try dropping the table and recreating it, but it might orphan > > all the resources. If you want the longer safer way, this is how I've > > done it in the past. Note th

[Puppet Users] Very large resource_statuses. reports:prune:orphaned fails with Mysql error

2014-08-12 Thread Erling Ringen Elvsrud
Hi! I use Puppet enterprise 2.7.2. In the database for Puppet Dashboard the resource_statuses table has grown rapidly the past month (when I was on vacation). I have experienced this earlier also and have implemented the suggested solution here: https://projects.puppetlabs.com/issues/6717 (downl

[Puppet Users] Using augeas to insert two lines unless they alrdy exist

2014-05-22 Thread Erling Ringen Elvsrud
Hi, I try to accomplish this with Puppet / Augeas: Insert: Match User banner "none" at the end of /etc/ssh/sshd_config unless the two lines are alredy present. I'm aware of the sshd_config_provider from http://augeasproviders.com which seems like the simplest solution for this, but at th