{"id":13778024,"url":"https://github.com/nwops/puppet-debugger","last_synced_at":"2025-03-30T07:31:16.728Z","repository":{"id":56889646,"uuid":"51982325","full_name":"nwops/puppet-debugger","owner":"nwops","description":"A interactive live debugger and REPL for the puppet language","archived":false,"fork":false,"pushed_at":"2024-01-19T02:11:37.000Z","size":12482,"stargazers_count":123,"open_issues_count":20,"forks_count":11,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-03-14T09:02:42.114Z","etag":null,"topics":["awesome","debugger","puppet","ruby"],"latest_commit_sha":null,"homepage":"https://gitlab.com/puppet-debugger/puppet-debugger","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nwops.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-02-18T05:42:29.000Z","updated_at":"2025-02-03T14:53:07.000Z","dependencies_parsed_at":"2024-03-25T03:11:12.194Z","dependency_job_id":null,"html_url":"https://github.com/nwops/puppet-debugger","commit_stats":null,"previous_names":["nwops/puppet-repl"],"tags_count":52,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwops%2Fpuppet-debugger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwops%2Fpuppet-debugger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwops%2Fpuppet-debugger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwops%2Fpuppet-debugger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwops","download_url":"https://codeload.github.com/nwops/puppet-debugger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245749876,"owners_count":20666085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["awesome","debugger","puppet","ruby"],"created_at":"2024-08-03T18:00:50.539Z","updated_at":"2025-03-30T07:31:16.692Z","avatar_url":"https://github.com/nwops.png","language":"Ruby","funding_links":[],"categories":["Ruby","Puppet Tools"],"sub_categories":[],"readme":"This code has moved to gitlab.  Please see https://gitlab.com/puppet-debugger/puppet-debugger\n\n\n![demo](resources/puppet_debugger_long_white.png)\n\n![demo](resources/animated-debugger-demo.gif)\n\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of Contents**  *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n- [puppet-debugger](#puppet-debugger)\n  - [Compatibility](#compatibility)\n  - [Production usage](#production-usage)\n  - [Installation](#installation)\n  - [Load path](#load-path)\n  - [Interactive demo](#interactive-demo)\n  - [Web demo](#web-demo)\n  - [Usage](#usage)\n  - [Using Variables](#using-variables)\n    - [Listing variables](#listing-variables)\n  - [Listing functions](#listing-functions)\n  - [Using functions](#using-functions)\n  - [Duplicate resource error](#duplicate-resource-error)\n  - [Setting the puppet log level](#setting-the-puppet-log-level)\n  - [Remote nodes](#remote-nodes)\n    - [Setup](#setup)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n[![Gem Version](https://badge.fury.io/rb/puppet-debugger.svg)](https://badge.fury.io/rb/puppet-debugger)\n\n# puppet-debugger\n\nA interactive command line tool for evaluating and debugging the puppet language.\n\n## Documentation\nPlease visit https://docs.puppet-debugger.com for more info.\n\n## Compatibility\nRequires Puppet 5.5+, ruby 2.4+\n\n## Production usage\nThe puppet debugger is a developer tool that should only be used when writing puppet code.  Although it might seem useful\nto install on your production puppet master. Please do not install because of the puppet-debugger gem dependencies that might conflict with your existing environment.\n\n## Installation\n`gem install puppet-debugger`\n\n\n## Web demo\nThere is a web version of the [puppet-debugger](https://demo.puppet-debugger.com) online but is somewhat\nlimited at this time. In the future we will be adding lots of awesome features to the web debugger.\n\n## Usage\nThe puppet debugger is a puppet application so once you install the gem, just fire it up using `puppet debugger`.  \nIf you have used `puppet apply` to evaulate puppet code, this replaces all of that with a simple debugger REPL console.\nThe debugger will only parse and evaluate your code.  It will not build a catalog\nand try to enforce the catalog. This has a few side affects.  This means you can type any puppet code in the debugger\nand see what it would actual do when compiling a resource.\n\n1. Type and provider code will not get run.\n2. Nothing is created or destroyed on your system.\n\n`puppet debugger`\n\nExample Usage\n```\nRuby Version: 2.6.5\nPuppet Version: 6.17.0\nPuppet Debugger Version: 1.0.0\nCreated by: NWOps \u003ccorey@nwops.io\u003e\nType \"commands\" for a list of debugger commands\nor \"help\" to show the help screen.\n\n\n1:\u003e\u003e $os\n =\u003e {\n  \"architecture\" =\u003e \"x86_64\",\n        \"family\" =\u003e \"RedHat\",\n      \"hardware\" =\u003e \"x86_64\",\n          \"name\" =\u003e \"Fedora\",\n       \"release\" =\u003e {\n     \"full\" =\u003e \"23\",\n    \"major\" =\u003e \"23\"\n  },\n       \"selinux\" =\u003e {\n       \"config_mode\" =\u003e \"permissive\",\n     \"config_policy\" =\u003e \"targeted\",\n      \"current_mode\" =\u003e \"permissive\",\n           \"enabled\" =\u003e true,\n          \"enforced\" =\u003e false,\n    \"policy_version\" =\u003e \"29\"\n  }\n}\n2:\u003e\u003e \n\n```\n\n## Copyright\n\nCopyright (c) 2018 NWOPS, LLC. See LICENSE.txt for\nfurther details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwops%2Fpuppet-debugger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwops%2Fpuppet-debugger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwops%2Fpuppet-debugger/lists"}