I am new to Puppet. I hoped someone in this group could get me on the right track with some questions I have.
1. I would appreciate an example demonstrating how to tell puppet to install a specific package in a specific location? For example, how to write that python2.7 should be installed in /usr/local/bin?
2. How to install a python module, for example pandas? From the command line one could use pip. Does puppet know about pip?
3. How to install a package from the tarballs and specify some parameters to the install process?
I follow up to my own post in case someone else encounters the same questions.
On Friday, October 10, 2014 8:50:34 PM UTC-7, Matyas A. Sustik wrote:I am new to Puppet. I hoped someone in this group could get me on the right track with some questions I have.
1. I would appreciate an example demonstrating how to tell puppet to install a specific package in a specific location? For example, how to write that python2.7 should be installed in /usr/local/bin?
Puppet is not the right tool for this task according to our local puppetmaster.
Though he also said it can be done when I pressed him. But consider that if an expert says it is too hard and you get 0 responses on google groups you should think twice before embarking on this project: you will probably put a lot of effort in and get stuck at some stage with no help in sight.
2. How to install a python module, for example pandas? From the command line one could use pip. Does puppet know about pip?
You can specify pip to be used for the install. However, if you use python2.7 then you want pip2.7 as well and so you are back to problem 1.
3. How to install a package from the tarballs and specify some parameters to the install process?
Ultimately you can write a script that will be executed by puppet and do anything you want. However the benefits puppet brings in this case compared to the rest of the effort will not justify its use.
I am new to Puppet. I hoped someone in this group could get me on the right track with some questions I have.
1. I would appreciate an example demonstrating how to tell puppet to install a specific package in a specific location? For example, how to write that python2.7 should be installed in /usr/local/bin?
2. How to install a python module, for example pandas? From the command line one could use pip. Does puppet know about pip?
3. How to install a package from the tarballs and specify some parameters to the install process?