Code Monkey home page Code Monkey logo

puppet-pm2's Issues

Remove auth info from Detailed Usage example

Some people like myself who are trying to learn puppet & nodejs will likely just copy/paste your examples initially like I did and suddenly they can't install any packages via npm. Might change it to not require auth initially then they can add it later if they like.

class { 'pm2':
npm_repository => "https://registry.npmjs.org",
npm_auth => '',
npm_always_auth => false,
pm2_version => "latest",

How/where is create_symlinks used?

I don't see anything in the wildurand nodejs repo that uses this line:

nodejs::create_symlinks: false

I search for create_symlinks in that repo and nothing is found.

Can you tell me how/where you are using it?

$name redefines a built in parameter

The parameter $name redefines a built in parameter in the Host Class Definition

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Cannot alias File[/opt/nodejs/] to ["/opt/nodejs"] at /etc/puppetlabs/code/environments/production/modules/pm2/manifests/create_app.pp:21; resource ["File", "/opt/nodejs"] already declared at /etc/puppetlabs/code/environments/production/modules/pm2/manifests/init.pp:40 at /etc/puppetlabs/code/environments/production/modules/pm2/manifests/create_app.pp:21:3 on node node1

What's this exec for?

https://github.com/neillturner/puppet-pm2/blob/master/manifests/init.pp#L73

In PE 3.7/3.8, the exec seems to happen first, which is perplexing enough. Because I'm not sure what the point of it is, I removed it from my fork and it seems to at least get past the error I was getting:

"Error: Failed to apply catalog: Validation of Exec[pm2 init] failed: 'pm2 status' is not qualified and no path was specified. Please qualify the command or specify a path. at /etc/puppetlabs/puppet/environments/sand/modules/pm2/manifests/init.pp:73"

However, if it really is needed, then I'll need to revisit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.