GithubHelp home page GithubHelp logo

puppet-skeleton's Introduction

$ puppet resource_type find --modulepath=. skeleton::puppetmodule
{"line":1,"arguments":{"username":null,"basedir":null,"modulename":null},"name":"skeleton::puppetmodule","type":"hostclass","file":"/home/bkkrw/clone/modules/skeleton/manifests/puppetmodule.pp"}

$ puppet resource_type search --modulepath=. 'skeleton::*'
[{"name":"skeleton::puppetmodule","line":1,"type":"hostclass","arguments":{"modulename":null,"basedir":null,"username":null},"file":"/home/bkkrw/clone/modules/skeleton/manifests/puppetmodule.pp"},{"name":"skeleton::bla","line":1,"type":"hostclass","file":"/home/bkkrw/clone/modules/skeleton/manifests/bla.pp"}]

$ puppet apply --modulepath=. --execute "class { 'skeleton::puppetmodule': username => 'willaerk', modulename => 'test', basedir => '/tmp' }"
$ puppet apply --modulepath=. --execute "class { 'skeleton::puppetmodule::tasks': username => 'willaerk', modulename => 'test', basedir => '/tmp' }"

Replace parameter for file resource: Whether to replace a file that already exists on the local system but whose content doesn’t match what the source or content attribute specifies. Setting this to false allows file resources to initialize files without overwriting future changes. Note that this only affects content; Puppet will still manage ownership and permissions. Valid values are true (also called yes), false (also called no).

$ puppet apply --modulepath=. --execute "class { 'skeleton': }"

$ puppet config print modulepath

$ puppet doc -m text <module>/manifests/<class>.pp

$ skeleton list [--modulepath <path>] 
$ skeleton doc --type <type> [--modulepath <path>]
$ skeleton args --type <type> [--modulepath <path>]
$ skeleton create --type <type> --args <arg hash> [--modulepath <path>]

puppet-skeleton's People

Contributors

dieterdemeyer avatar willaerk avatar fdammeke avatar

Watchers

James Cloos avatar

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.