puppet_ds

pdk
tasks
Type and Provider or Task based manipulation of the PE RBAC_API

abuxton

abuxton

5,516 downloads

2,634 latest version

5.0 quality score

Version information

  • 1.0.1 (latest)
  • 0.1.0
released Jan 21st 2020
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 6.0.0
  • CentOS
    ,
    OracleLinux
    ,
    RedHat
    ,
    Scientific
    ,
    Debian
    ,
    Ubuntu
Tasks:
  • get_ds_data
  • set_ds_data
  • set_ds_json_data
  • test_ds_data
  • unset_ds

Start using this module

Documentation

abuxton/puppet_ds — version 1.0.1 Jan 21st 2020

What are tasks?

Modules can contain tasks that take action outside of a desired state managed by Puppet. It’s perfect for troubleshooting or deploying one-off changes, distributing scripts to run across your infrastructure, or automating changes that need to happen in a particular order as part of an application deployment.

Tasks in this module release

get_ds_data

Task to retrieve current DS data from API https://puppet.com/docs/pe/2017.3/rbac_api_v1_directory.html#get-ds. The output is parsed with python and formatted

test_ds_data

Task to test DS data from API https://puppet.com/docs/pe/2017.3/rbac_api_v1_directory.html#put-ds-test, test is only valid if you have set the data. If setting data in the console you must have saved the configuration to test it

unset_ds

Unset ds data as https://puppet.com/docs/pe/2017.3/rbac_api_v1_directory.html#request-format-01 will unset your external directory settings in the console