Re: [Puppet Users] conditional execution of package

2010-07-09 Thread Patrick Mohr
It's probably better to make a package instead.

On Jul 8, 2010, at 11:49 PM, prudhvi wrote:

 Hi,
 
 I have been installing couchdb from source thorough  make/make
 install  using puppet's exec.
 The problem I am facing is when ever i run the configuration for the
 second time its not recognizing tat its already installed.
 couchdb is being installed all over again.
 is it the problem becoz , im not using puppet's package resource type
 I thought of a plan in which i can check whether a particular file
 exists. so if the file doesnt exists, I'll ask puppet to install it
 right away.

So you're doing something like this?

exec { tar xvzf  ./configure  make  make install:
path = whatever,
creates = /usr/bin/program_name,
}

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-us...@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.



Re: [Puppet Users] conditional execution of package

2010-07-09 Thread Dan Carley
On 9 July 2010 08:18, Patrick Mohr kc7...@gmail.com wrote:

 It's probably better to make a package instead.


+1, roll a package. Your life will be easier. The sun will shine. Birds will
serenade you. Beer will flow from fountains.

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-us...@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.