{"id":19792816,"url":"https://github.com/devpro/puppet-infra","last_synced_at":"2025-02-28T09:48:29.263Z","repository":{"id":145399305,"uuid":"122090885","full_name":"devpro/puppet-infra","owner":"devpro","description":"Puppet module that provides the ability to install and manage infrastructure components","archived":false,"fork":false,"pushed_at":"2018-02-27T22:23:30.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T04:31:37.997Z","etag":null,"topics":["aspnetcore","iis","module","puppet","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devpro.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2018-02-19T16:38:35.000Z","updated_at":"2018-02-20T13:13:24.000Z","dependencies_parsed_at":"2023-07-29T03:01:29.027Z","dependency_job_id":null,"html_url":"https://github.com/devpro/puppet-infra","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpro%2Fpuppet-infra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpro%2Fpuppet-infra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpro%2Fpuppet-infra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpro%2Fpuppet-infra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devpro","download_url":"https://codeload.github.com/devpro/puppet-infra/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241133018,"owners_count":19915312,"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":["aspnetcore","iis","module","puppet","ruby"],"created_at":"2024-11-12T07:08:03.860Z","updated_at":"2025-02-28T09:48:29.255Z","avatar_url":"https://github.com/devpro.png","language":"Ruby","readme":"# Altered-Infra Puppet module\r\n\r\n## Table of Contents\r\n\r\n1. [Description](#description)\r\n2. [Setup - The basics of getting started with alteredinfra](#setup)\r\n    * [What alteredinfra affects](#what-alteredinfra-affects)\r\n    * [Setup requirements](#setup-requirements)\r\n    * [Beginning with alteredinfra](#beginning-with-alteredinfra)\r\n3. [Usage - Configuration options and additional functionality](#usage)\r\n4. [Reference - An under-the-hood peek at what the module is doing and how](#reference)\r\n5. [Limitations - OS compatibility, etc.](#limitations)\r\n6. [Development - Guide for contributing to the module](#development)\r\n\r\n## Description\r\n\r\nThe **alteredinfra** module installs, configures and manages various infrastructure components. For the moment, it only works on Windows OS and Puppet 4 or higher.\r\n\r\nWith this module, you are able to easily install \u0026 configure:\r\n\r\n* the configuration agent that is part of the Altered Infrastructure solution provided by [www.devpro.fr](http://www.devpro.fr).\r\n\r\nOn a side note, this is an example of Puppet code to install an ASP.NET Core application!\r\n\r\n## Setup\r\n\r\n### What alteredinfra affects\r\n\r\nIf it's obvious what your module touches, you can skip this section. For example, folks can probably figure out that your mysql_instance module affects their MySQL instances.\r\n\r\nThis modules touches the following elements:\r\n\r\n* Files located by default in `C:\\Program Files` (application files) and `D:\\ProgamData` (log files)\r\n* IIS by adding a new appliation beneath the default web site\r\n\r\n### Setup Requirements\r\n\r\nThis modules requires the following modules:\r\n\r\n* [puppetlabs/iis](https://forge.puppet.com/puppetlabs/iis)\r\n\r\nIt's advised to use `r10k` and a puppetfile to load modules.\r\n\r\n### Beginning with alteredinfra\r\n\r\nIf you use a `puppetfile` (with a tool like r10k for example), here is the line to be added:\r\n\r\n```rubydsl\r\nmod 'alteredinfra',\r\n  :git    =\u003e 'https://github.com/devpro/puppet-infra',\r\n  :branch =\u003e 'dev'\r\n```\r\n\r\nIn addition to `include alteredinfra::application::configagent`, the following data needs to be configured:\r\n\r\n```yaml\r\nalteredinfra::application::configagent::package_repository: path_to_repo_where_zipfile_is\r\nalteredinfra::application::configagent::application_version: \"1_0_0_0\"\r\n```\r\n\r\n## Usage\r\n\r\nAll parameters for the ConfigurationAgent application are contained within the main `application/configagent` class, so for any function of the module, set the options you want. See the common usages below for examples.\r\n\r\n### Install and enable alteredinfra\r\n\r\n```puppet\r\ninclude alteredinfra::application::configagent\r\n```\r\n\r\n## Reference\r\n\r\n### Classes\r\n\r\n#### Public classes\r\n\r\n* alteredinfra::application::configagent: Application class.\r\n\r\n### Parameters\r\n\r\nThe following parameters are available in the `alteredinfra::application::configagent` class:\r\n\r\n#### `application_name`\r\n\r\nOptional.\r\n\r\nData type: String.\r\n\r\nApplication name that will be used in the application file path and application pool name.\r\n\r\nDefault value: `ConfigurationAgent`.\r\n\r\n#### `installation_root_path`\r\n\r\nOptional.\r\n\r\nData type: String.\r\n\r\nRoot path where the application will be installed.\r\n\r\nDefault value: `C:\\Program Files\\Devpro`.\r\n\r\n#### `temporary_folder_path`\r\n\r\nOptional.\r\n\r\nData type: String.\r\n\r\nTemporary folder where the installation package will be extracted.\r\n\r\nDefault value: `C:\\Temp`.\r\n\r\n#### `log_folder_path`\r\n\r\nOptional.\r\n\r\nData type: String.\r\n\r\nApplication log file folder path.\r\n\r\nDefault value: `C:\\ProgramData\\Devpro\\ConfigurationAgent\\Logs`.\r\n\r\n#### `puppet_file_path`\r\n\r\nOptional.\r\n\r\nData type: String.\r\n\r\nPath of puppet file.\r\n\r\nDefault value: `C:\\Program Files\\Puppet Labs\\Puppet\\bin\\puppet.bat`.\r\n\r\n#### `package_repository`\r\n\r\nMandatory.\r\n\r\nData type: String.\r\n\r\nApplication package repository.\r\n\r\n#### `application_version`\r\n\r\nMandatory.\r\n\r\nData type: String.\r\n\r\nApplication version numer (for example: 1_0_0_0).\r\n\r\n#### `logging_level`\r\n\r\nOptional.\r\n\r\nData type: String.\r\n\r\nLogging level.\r\n\r\nDefault value: `Information`.\r\n\r\n#### `windows_7zip_exe_path`\r\n\r\nOptional.\r\n\r\nData type: String.\r\n\r\nPath of 7zip exe file on Windows.\r\n\r\nDefault value: `C:\\Program Files\\7-Zip\\7z.exe`.\r\n\r\n#### `iis_appcmd_exe_path`\r\n\r\nOptional.\r\n\r\nData type: String.\r\n\r\nPath of IIS appcmd exe file.\r\n\r\nDefault value: `C:\\\\Windows\\\\system32\\\\inetsrv\\\\appcmd.exe`.\r\n\r\n#### `iis_apppool_name`\r\n\r\nOptional.\r\n\r\nData type: String.\r\n\r\nIIS application pool name.\r\n\r\nDefault value: `ConfigurationAgentAppPool`.\r\n\r\n#### `iis_site_name`\r\n\r\nOptional.\r\n\r\nData type: String.\r\n\r\nIIS site name on which the application will be installed.\r\n\r\nDefault value: `Default Web Site`.\r\n\r\n#### `iis_apppool_identitytype`\r\n\r\nOptional.\r\n\r\nData type: String.\r\n\r\nIIS application pool identity type.\r\n\r\nDefault value: `LocalSystem`.\r\n\r\n## Limitations\r\n\r\nThis module has been tested on Windows 10 and Windows 2008 R2 running Puppet agent open source 5.3.\r\n\r\n## Development\r\n\r\nThis is an open project, anyone can contribute and provide feedbacks.\r\n\r\n## Contributors\r\n\r\nTo see who's already involved, see the [list of contributors.](https://github.com/devpro/puppet-infra/graphs/contributors)\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevpro%2Fpuppet-infra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevpro%2Fpuppet-infra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevpro%2Fpuppet-infra/lists"}