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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.