Re: [Puppet Users] Running multile MySQL Instances on the same server

2013-05-19 Thread Alex Jurkiewicz
Hi, We do this, unfortunately none of our code is clean enough to release. It's used to run replication slaves of several different masters on a single box. In short we have a base mysql class that installs required packages, disables the default service instance and makes other global-level chan

Re: [Puppet Users] Copy script from source -> run it -> delete it again

2013-05-19 Thread Denmat
Hmm, this? > exec { "/root/get_phantomjs.sh && rm -f /root/get_phantomjs.sh": Maybe? Den On 19/05/2013, at 21:01, flip wrote: > Hi, > > i want to deploy a build script, run it and delete if afterwards. > > To deploy and run, i use this: > > file { "/root/get_phantomjs.sh": > ensure

[Puppet Users] Copy script from source -> run it -> delete it again

2013-05-19 Thread flip
Hi, i want to deploy a build script, run it and delete if afterwards. To deploy and run, i use this: file { "/root/get_phantomjs.sh": ensure => present, mode => "0700", source => "puppet:///modules/phantomjs/get_phantomjs.sh", require => Package["libfontconfig1-dev"], } ex

Re: [Puppet Users] Error with service: "invalid byte sequence in US-ASCII"

2013-05-19 Thread Mateusz Fiołka
I'm not sure if it is related to the services. It rather looks like puppet related to me. I'm having a similar problem on a newly created vps. When I do puppet apply first time I get the message: Error: Could not set 'present' on ensure: invalid byte sequence in US-ASCII at 3:/root/mf-prod.pp

Re: [Puppet Users] Migration from 0.25.4 to the latest puppet and relating issues ....

2013-05-19 Thread Pete Brown
You may want to have a look here. http://docs.puppetlabs.com/guides/upgrading.html and here http://docs.puppetlabs.com/puppet/3/reference/release_notes.html#backwards-incompatible-changes-in-30 There are way too many changed between 0.25.4 and 3.1.1 You just hit the biggest. On 19 May 2013 03:1

Re: [Puppet Users] Re: Manual run with specific class

2013-05-19 Thread Pete Brown
On 17 May 2013 23:01, jcbollinger wrote: > > > On Thursday, May 16, 2013 3:38:23 PM UTC-5, Nev wrote: >> >> I need to be able to run a certain class ONLY when it is called >> manually from the client. >> >> I created a class named "manual" and can run it from the client like >> this: >> >> puppet

Re: [Puppet Users] Rhel based distro and multiple package version installed

2013-05-19 Thread Keith Burdis
Two options come to mind: 1) Install the JDK and Tomcat products from tarball into separate directories for each version which is what I do with erwbgy/sunjdk and erwbgy/tomcat 2) Create custom packages for ea

Re: [Puppet Users] Re: High Availability of Puppet server for separate geographical location

2013-05-19 Thread shyam sundar Keshari
Hi , Thanks all for your knowledge sharing on mine Query .So after all I planned to make Individual Puppet master for each locations . Thanks Team On Tue, May 14, 2013 at 8:56 PM, Felipe Salum wrote: > If you don't need to backup your puppetca, how do you carry over to a > standby puppetca se

Re: [Puppet Users] puppet in an appliance model?

2013-05-19 Thread Keith Burdis
With PuppetDB >1.1 it is now possible to use exported resources when running puppet apply [1], though of course this still means having a central PuppetDB. This is not relevant for a single machine setup though, as you say. - Keith [1] http://docs.puppetlabs.com/puppetdb/1.3/connect_puppet_appl