{"id":17970305,"url":"https://github.com/lvicainne/puppet-bashrc","last_synced_at":"2026-03-10T02:33:23.060Z","repository":{"id":57664926,"uuid":"54805307","full_name":"lvicainne/puppet-bashrc","owner":"lvicainne","description":"Puppet module for managing BashRC files","archived":false,"fork":false,"pushed_at":"2022-08-24T17:20:29.000Z","size":29,"stargazers_count":4,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-28T03:41:52.930Z","etag":null,"topics":["bashrc","bashrc-files","hiera","puppet","puppet-bashrc","skelton-files"],"latest_commit_sha":null,"homepage":null,"language":"Puppet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lvicainne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-27T00:12:54.000Z","updated_at":"2022-08-24T17:20:33.000Z","dependencies_parsed_at":"2022-09-26T20:31:11.629Z","dependency_job_id":null,"html_url":"https://github.com/lvicainne/puppet-bashrc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lvicainne/puppet-bashrc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvicainne%2Fpuppet-bashrc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvicainne%2Fpuppet-bashrc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvicainne%2Fpuppet-bashrc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvicainne%2Fpuppet-bashrc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lvicainne","download_url":"https://codeload.github.com/lvicainne/puppet-bashrc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvicainne%2Fpuppet-bashrc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30322645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T01:36:58.598Z","status":"online","status_checked_at":"2026-03-10T02:00:06.579Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bashrc","bashrc-files","hiera","puppet","puppet-bashrc","skelton-files"],"created_at":"2024-10-29T15:04:54.020Z","updated_at":"2026-03-10T02:33:23.043Z","avatar_url":"https://github.com/lvicainne.png","language":"Puppet","readme":"# BashRC\n\n[![Build Status](https://travis-ci.org/lvicainne/puppet-bashrc.svg?branch=master)](https://travis-ci.org/lvicainne/puppet-bashrc)\n\n#### Table of Contents\n\n1. [Description](#description)\n2. [Setup - The basics of getting started with BashRC](#setup)\n    * [What bashrc module affects](#what-bashrc-module-affects)\n    * [Setup requirements](#setup-requirements)\n    * [Beginning with bashrc](#beginning-with-bashrc)\n3. [Usage - Configuration options and additional functionality](#usage)\n4. [Reference - An under-the-hood peek at what the module is doing and how](#reference)\n5. [Limitations - OS compatibility, etc.](#limitations)\n6. [Development - Guide for contributing to the module](#development)\n\n## Description\n\nA Puppet module to manage the files used by BashRC\n\n## Setup\n\n### What BashRC module affects \n\n* modify the files for the machine linked to BashRC in /etc (/etc/bashrc and /etc/profile)\n* modify the  skelton files used for new created users in /etc/skel\n* according to your configuration, modify the bashrc files for the selected users\nWarning : this package will modify the bashrc files (and its skelton files) ! Your console may be directly affected if you already customized it !\nOtherwise, you can use it safely.\n\n### Beginning with BashRC\t\n\nA basic example is as follows:\n\n```puppet\n  include ::bashrc\n```\n\n## Usage\n\nYou can also use natively Hiera :\n\n\n```puppet\n  include ::bashrc\n```\n\n```yaml\nbashrc::aliases:\n    - 'sayhello=\"echo Bonjour\"'\nbashrc::users:\n    - username: 'root'\n      homedirectory: '/root'\n      managelocalbashrc: true\n    - username: 'myotherusername'\n      homedirectory: '/home/myotherusername'\n      managelocalbashrc: true\n```\n\nIf you use Hiera and you want to use the hierarchy using this Puppet syntax :\n\n```puppet\n  class { '::bashrc':\n    aliases    =\u003e hiera_array('bashrc::aliases'),\n    users      =\u003e hiera_array('bashrc::users'),\n    extensions =\u003e hiera_array('bashrc::extensions'),\n  }\n```\n\nIn this way, you can merge (with `hiera_array`) the parameters\n\n## Reference\n\n### Public Classes\n\n* [bashrc](#class-bashrc)\n\n### Class: bashrc\n\nA class for managing the bashrc configuration files\n\n#### Attributes\n\n##### `aliases`\n##### `bashrcdirectory`\n##### `bashrcd_puppet_filename`\n##### `etcbashfile`\n##### `extensions`\n##### `grep_color_value`\n##### `maildirectory`\n##### `manage_custom_bashrc`\n##### `manage_etc_file`\n##### `manage_skeltons`\n##### `profileddirectory`\n##### `ps1_colored`\n##### `ps1_default`\n##### `ps1_screen`\n##### `selected_pager`\n##### `selected_editor`\n##### `selected_editor_path`\n##### `skeldirectory`\n##### `template_etc_bashrc`\n##### `template_etc_profile`\n##### `users`\n##### `history_control`\n##### `history_size`\n##### `history_file_size`\n##### `history_time_format`\n\n## Limitations\n\nThis module has only been tested on my Debian and Centos servers. I can not guarantee for any other Operating System\n\n## Development\n\nYou are pleased to fork this module and adapt it for you needs. I am open to any Pull Request :-)\n\n## Release Notes/Contributors/Etc. \n\nThanks to contributors : lvicainne, beckonconn, markruys \n\n* v0.0.7 Support puppetlabs/concat 4.2.1\n* v0.0.6 Metadata.json correction\n* v0.0.5 Adding in the ability to customize the bash history controls in the user bashrc. Also fixed the \"WARNING: arrow should be on the right operands line\" that would come up on puppet lint.\n* v0.0.4 Rename lvicainne-bashrc to puppet-bashrc\n* v0.0.3 Enable autocompletion\n* v0.0.2 Improve the history command with datetime, improve the order of the bashrc using concat\n* v0.0.1 First Running version\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvicainne%2Fpuppet-bashrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flvicainne%2Fpuppet-bashrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvicainne%2Fpuppet-bashrc/lists"}