Reddit DevOps
270 subscribers
9 photos
31.1K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Do you have a remote job ?

This is not about a personal preference, this is about your current situation at work.

View Poll

https://redd.it/nx31qm
@r_devops
iis web.configs best practices in production?

Hey all! In the past year, I’ve slowly been working more in a DevOps capacity for a medium sized company. We’re still a windows shop using iis to host .net web apps. We don’t really have any pipelines setup yet. Code is manually pushed to the servers(yes I’m crying too). Long story short, can y’all point me in the right direction as in,how to appropriately manage web configs that are constantly needing to be changed? Ansible, GitHub? How do I stop the madness?

Sincerely,
Frustrated

https://redd.it/nx4wot
@r_devops
New open source project - Opta

Hey folks, I've been working on a new open source project called Opta and it's finally at a stage where I'm looking for feedback! Please check it out :)

https://www.youtube.com/watch?v=nja\_EfpGexE

Opta is a platform for running containerized workloads on the cloud. It abstracts away the complexity of networking, IAM, kubernetes, and various other components - giving you a clean cloud agnostic interface to deploy and run your containers. It's all configuration driven so you always get a repeatable copy of your infrastructure.

https://github.com/run-x/opta/

https://redd.it/nwzli6
@r_devops
What are you automating?

I am new to this discipline and constantly read that knowledge of a preferably a scripting language (Python/Ruby) is required for automation. I am a Ruby/Python developer myself, but trying to understand what are SREs and "DevOps" engineers automating.

https://redd.it/nwwryv
@r_devops
creating a powershell container with M1

hey guys,

maybe it was a mistake, but I got myself a M1 MacBook and I am struggling a bit more than expected.

I have to use powershell for some old legacy azure stuff (which I want to migrate somewhen) but have to test it first.

Is there any ready-to-use docker-container to ramp up fast to get my scripts up & running? Any hints how to do that in case it does not exist?

Best,

dejeckehoot

https://redd.it/nx843k
@r_devops
Getting error Avoid using {....} Multiple lines block

Getting error when i run cookbook and my code is


# Add AD USer to local admin Group when AD User Not present

group 'administrators' do

members 'TNGLAL\SVC_Prod_RDK'

onlyif {

result = powershell
out (checkformembership)

result.stdout.chop == 'False'

}

action :modify

append true

end

Please help me with it

https://redd.it/nu9r8m
@r_devops
Best practice for PCI app deployment on VMWare

Hi All,

Could someone please help me to understand the CI/CD best practice for deploying PCI (Payment Card Industry) application fleet in VMWare(On-Prem)?

Tech stack for provisioning :Terraform / VCD ProviderAnsible

I was exploring k8s and nomad workload orchestrator but those would be overhead to manage just for 1-2 applications

TIA!

https://redd.it/nu8sm2
@r_devops
Is DevOps a good career path?

I good as in pay, job availability and future prospects. I am thinking about taking it as an elective but unsure if it would be useful as someone who has a lot of backend courses. I could also pick Scrum.

https://redd.it/nua2u1
@r_devops
Load Testing on WebSockets

I'm looking for software recommendations for load testing websockets. Apache JMeter doesn't have native integration with websockets and the plugins don't seem to work.
Ideally it should be something where I could specify all websocket messages at once along with the authorization headers.

https://redd.it/nxekxg
@r_devops
Consolidating tools in our pipeline?

Currently we're in the process of evaluating/adding additional stages into our Azure DevOps pipeline and there's growing concern that we're heading towards maintenance hell.

We have Azure DevOps that holds our code and runs our pipelines. Tickets are hosted via YouTrack (used to have TeamCity, too, but moved to ADO).

Right now we want to add SonarQube and TestRail for code analysis and testing.

We like ADO, so it would be good to have tools integrate with it without having to sweat, but it looks like we'll be running a lot of services to manage our development. Just the maintenance of those tools and services looks like extra work that maybe shouldn't exist.

Is this the reality of the business that you either pay through your nose to get a complete package, or suffer through the maintenance of each separate component? Or did we just go down the wrong path and there's an industry standard "better way" to deal with the very basics? Is YouTrack a "liability" that could be consolidated into ADO for example? Or is there something preferable than ADO? Or everyone has their preference and everyone will suggest something different? :)

We're a .NET team, if that matters.

https://redd.it/nxexc4
@r_devops
Xms and Xmx for Spring applications

fellow devops/admins/developers,

while running your spring application in Kubernetes or in VM, do you set Xms and Xmx as same or different like Xms512m -Xmx4096m. Why?

What is the advantage of one over the other?

https://redd.it/nxetfk
@r_devops
puppet throws me an error

Notice: /Stagemain/Main/Hudon::Dbhwebsite/Mariadb::Userhwebsite/Execdb-hwebsite-user: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Dbhwebsite/Mariadb::Userhwebsite/Execdb-hwebsite-user: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Dbhwebsite/Mariadb::Granthwebsite-hwebsite/Execdb-hwebsite-hwebsite-grant: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Dbhwebsite/Mariadb::Granthwebsite-hwebsite/Execdb-hwebsite-hwebsite-grant: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Dbhwebsite/Mariadb::Granthwebsite-hwebsite/Notifyhwebsite-hwebsite Add user : hwebsite@localhost: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Dbhwebsite/Mariadb::Granthwebsite-hwebsite/Notifyhwebsite-hwebsite Add user : hwebsite@localhost: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Dbhwebsite/Mariadb::Granthwebsite-blacksmith_backup/Execdb-hwebsite-blacksmith_backup-grant: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Dbhwebsite/Mariadb::Granthwebsite-blacksmith_backup/Execdb-hwebsite-blacksmith_backup-grant: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Dbhwebsite/Mariadb::Granthwebsite-blacksmith_backup/Notifyhwebsite-blacksmith_backup Add user : blacksmith_backup@localhost: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Dbhwebsite/Mariadb::Granthwebsite-blacksmith_backup/Notifyhwebsite-blacksmith_backup Add user : blacksmith_backup@localhost: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Userhwebsite01: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Userhwebsite01: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/Sshauthorizedkeyhwebsite01-gitlab-runner: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/Sshauthorizedkeyhwebsite01-gitlab-runner: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Apache::Fcgiphp5-fcgi-hwebsite01/File/etc/php-fpm.d/php5-fcgi-hwebsite01.conf: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Apache::Fcgiphp5-fcgi-hwebsite01/File/etc/php-fpm.d/php5-fcgi-hwebsite01.conf: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Nginx::Vhosthwebsite-front-web/File/etc/nginx/conf.d/hwebsite-front-web.conf: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Nginx::Vhosthwebsite-front-web/File/etc/nginx/conf.d/hwebsite-front-web.conf: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/Sshauthorizedkeyhwebsite01-rsync-ssh: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/Sshauthorizedkeyhwebsite01-rsync-ssh: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Apache::Fcgiphp5-fcgi-hwebsite01/File/etc/httpd/conf.d/module.php5-fcgi-hwebsite01.conf: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Apache::Fcgiphp5-fcgi-hwebsite01/File/etc/httpd/conf.d/module.php5-fcgi-hwebsite01.conf: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Apache::Htpasswdhg.hwebsite01/Exectest -f /etc/httpd/conf.d/htpasswd.hwebsite01 || OPT='-c'; htpasswd -b ${OPT} /etc/httpd/conf.d/htpasswd.hwebsite01 hg 'john123':
Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Apache::Htpasswdhg.hwebsite01/Exectest -f /etc/httpd/conf.d/htpasswd.hwebsite01 || OPT='-c'; htpasswd -b ${OPT} /etc/httpd/conf.d/htpasswd.hwebsite01 hg 'john123': Skipping because of failed dependencies
Notice: /Stagemain/Apache/Servicephp-fpm: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Apache/Servicephp-fpm: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hudon::Remotefile/etc/nginx/ssl/hivimax.com.bundle.crt/ExecHudon_retrieve_/etc/nginx/ssl/hivimax.com.bundle.crt: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hudon::Remotefile/etc/nginx/ssl/hivimax.com.bundle.crt/ExecHudon_retrieve_/etc/nginx/ssl/hivimax.com.bundle.crt: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hudon::Remotefile/etc/nginx/ssl/hivimax.com.bundle.crt/File/etc/nginx/ssl/hivimax.com.bundle.crt: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hudon::Remotefile/etc/nginx/ssl/hivimax.com.bundle.crt/File/etc/nginx/ssl/hivimax.com.bundle.crt: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hostwww.hivimax.com: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hostwww.hivimax.com: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/File/home/hwebsite01: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/File/home/hwebsite01: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/.ssh: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/.ssh: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/.ssh/id_rsa: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/.ssh/id_rsa: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Apache::Fcgiphp5-fcgi-hwebsite01/File/usr/lib/cgi-bin/php5-fcgi-hwebsite01: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Apache::Fcgiphp5-fcgi-hwebsite01/File/usr/lib/cgi-bin/php5-fcgi-hwebsite01: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Apache::Htpasswdremoteapi.hwebsite01/Exectest -f /etc/httpd/conf.d/htpasswd.hwebsite01 || OPT='-c'; htpasswd -b ${OPT} /etc/httpd/conf.d/htpasswd.hwebsite01 remoteapi 'azsxdcfv': Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Apache::Htpasswdremoteapi.hwebsite01/Exectest -f /etc/httpd/conf.d/htpasswd.hwebsite01 || OPT='-c'; htpasswd -b ${OPT} /etc/httpd/conf.d/htpasswd.hwebsite01 remoteapi 'azsxdcfv': Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hosthivimax.com: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hosthivimax.com: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hudon::Remotefile/etc/nginx/ssl/hivimax.com.key/ExecHudon_retrieve_/etc/nginx/ssl/hivimax.com.key: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hudon::Remotefile/etc/nginx/ssl/hivimax.com.key/ExecHudon_retrieve_/etc/nginx/ssl/hivimax.com.key: Skipping because of failed dependencies
Notice:
/Stagemain/Main/Hudon::Setuphwebsite/Hudon::Remotefile/etc/nginx/ssl/hivimax.com.key/File/etc/nginx/ssl/hivimax.com.key: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hudon::Remotefile/etc/nginx/ssl/hivimax.com.key/File/etc/nginx/ssl/hivimax.com.key: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Nginx::Vhosthwebsite-front-web-ssl/File/etc/nginx/conf.d/hwebsite-front-web-ssl.conf: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Nginx::Vhosthwebsite-front-web-ssl/File/etc/nginx/conf.d/hwebsite-front-web-ssl.conf: Skipping because of failed dependencies
Notice: /Stagemain/Nginx/Servicenginx: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Nginx/Servicenginx: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/hg-log.sh: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/hg-log.sh: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/build-tools: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/build-tools: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/project.conf: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/project.conf: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/hg-prod.sh: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/hg-prod.sh: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/ver: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/ver: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/site-data: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/site-data: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/hg-preprod.sh: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/hg-preprod.sh: Skipping because of failed dependencies
Notice: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/logs: Dependency PackageMariaDB-server has failures: true
Warning: /Stagemain/Main/Hudon::Setuphwebsite/Hgproject::Projecthwebsite/File/home/hwebsite01/version/logs: Skipping because of failed dependencies
Notice:
puppet throws me an error

Notice: /Stage[main]/Main/Hudon::Db[hwebsite]/Mariadb::User[hwebsite]/Exec[db-hwebsite-user]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Db[hwebsite]/Mariadb::User[hwebsite]/Exec[db-hwebsite-user]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Db[hwebsite]/Mariadb::Grant[hwebsite-hwebsite]/Exec[db-hwebsite-hwebsite-grant]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Db[hwebsite]/Mariadb::Grant[hwebsite-hwebsite]/Exec[db-hwebsite-hwebsite-grant]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Db[hwebsite]/Mariadb::Grant[hwebsite-hwebsite]/Notify[hwebsite-hwebsite Add user : hwebsite@localhost]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Db[hwebsite]/Mariadb::Grant[hwebsite-hwebsite]/Notify[hwebsite-hwebsite Add user : hwebsite@localhost]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Db[hwebsite]/Mariadb::Grant[hwebsite-blacksmith_backup]/Exec[db-hwebsite-blacksmith_backup-grant]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Db[hwebsite]/Mariadb::Grant[hwebsite-blacksmith_backup]/Exec[db-hwebsite-blacksmith_backup-grant]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Db[hwebsite]/Mariadb::Grant[hwebsite-blacksmith_backup]/Notify[hwebsite-blacksmith_backup Add user : blacksmith_backup@localhost]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Db[hwebsite]/Mariadb::Grant[hwebsite-blacksmith_backup]/Notify[hwebsite-blacksmith_backup Add user : blacksmith_backup@localhost]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/User[hwebsite01]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/User[hwebsite01]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/Ssh_authorized_key[hwebsite01-gitlab-runner]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/Ssh_authorized_key[hwebsite01-gitlab-runner]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Fcgi[php5-fcgi-hwebsite01]/File[/etc/php-fpm.d/php5-fcgi-hwebsite01.conf]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Fcgi[php5-fcgi-hwebsite01]/File[/etc/php-fpm.d/php5-fcgi-hwebsite01.conf]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Nginx::Vhost[hwebsite-front-web]/File[/etc/nginx/conf.d/hwebsite-front-web.conf]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Nginx::Vhost[hwebsite-front-web]/File[/etc/nginx/conf.d/hwebsite-front-web.conf]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/Ssh_authorized_key[hwebsite01-rsync-ssh]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/Ssh_authorized_key[hwebsite01-rsync-ssh]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Fcgi[php5-fcgi-hwebsite01]/File[/etc/httpd/conf.d/module.php5-fcgi-hwebsite01.conf]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Fcgi[php5-fcgi-hwebsite01]/File[/etc/httpd/conf.d/module.php5-fcgi-hwebsite01.conf]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Htpasswd[hg.hwebsite01]/Exec[test -f /etc/httpd/conf.d/htpasswd.hwebsite01 || OPT='-c'; htpasswd -b ${OPT} /etc/httpd/conf.d/htpasswd.hwebsite01 hg 'john123']:
Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Htpasswd[hg.hwebsite01]/Exec[test -f /etc/httpd/conf.d/htpasswd.hwebsite01 || OPT='-c'; htpasswd -b ${OPT} /etc/httpd/conf.d/htpasswd.hwebsite01 hg 'john123']: Skipping because of failed dependencies
Notice: /Stage[main]/Apache/Service[php-fpm]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Apache/Service[php-fpm]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hudon::Remotefile[/etc/nginx/ssl/hivimax.com.bundle.crt]/Exec[Hudon_retrieve_/etc/nginx/ssl/hivimax.com.bundle.crt]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hudon::Remotefile[/etc/nginx/ssl/hivimax.com.bundle.crt]/Exec[Hudon_retrieve_/etc/nginx/ssl/hivimax.com.bundle.crt]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hudon::Remotefile[/etc/nginx/ssl/hivimax.com.bundle.crt]/File[/etc/nginx/ssl/hivimax.com.bundle.crt]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hudon::Remotefile[/etc/nginx/ssl/hivimax.com.bundle.crt]/File[/etc/nginx/ssl/hivimax.com.bundle.crt]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Host[www.hivimax.com]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Host[www.hivimax.com]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/File[/home/hwebsite01]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/File[/home/hwebsite01]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/.ssh]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/.ssh]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/.ssh/id_rsa]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/.ssh/id_rsa]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Fcgi[php5-fcgi-hwebsite01]/File[/usr/lib/cgi-bin/php5-fcgi-hwebsite01]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Fcgi[php5-fcgi-hwebsite01]/File[/usr/lib/cgi-bin/php5-fcgi-hwebsite01]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Htpasswd[remoteapi.hwebsite01]/Exec[test -f /etc/httpd/conf.d/htpasswd.hwebsite01 || OPT='-c'; htpasswd -b ${OPT} /etc/httpd/conf.d/htpasswd.hwebsite01 remoteapi 'azsxdcfv']: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Htpasswd[remoteapi.hwebsite01]/Exec[test -f /etc/httpd/conf.d/htpasswd.hwebsite01 || OPT='-c'; htpasswd -b ${OPT} /etc/httpd/conf.d/htpasswd.hwebsite01 remoteapi 'azsxdcfv']: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Host[hivimax.com]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Host[hivimax.com]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hudon::Remotefile[/etc/nginx/ssl/hivimax.com.key]/Exec[Hudon_retrieve_/etc/nginx/ssl/hivimax.com.key]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hudon::Remotefile[/etc/nginx/ssl/hivimax.com.key]/Exec[Hudon_retrieve_/etc/nginx/ssl/hivimax.com.key]: Skipping because of failed dependencies
Notice:
/Stage[main]/Main/Hudon::Setup[hwebsite]/Hudon::Remotefile[/etc/nginx/ssl/hivimax.com.key]/File[/etc/nginx/ssl/hivimax.com.key]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hudon::Remotefile[/etc/nginx/ssl/hivimax.com.key]/File[/etc/nginx/ssl/hivimax.com.key]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Nginx::Vhost[hwebsite-front-web-ssl]/File[/etc/nginx/conf.d/hwebsite-front-web-ssl.conf]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Nginx::Vhost[hwebsite-front-web-ssl]/File[/etc/nginx/conf.d/hwebsite-front-web-ssl.conf]: Skipping because of failed dependencies
Notice: /Stage[main]/Nginx/Service[nginx]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Nginx/Service[nginx]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/hg-log.sh]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/hg-log.sh]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/build-tools]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/build-tools]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/project.conf]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/project.conf]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/hg-prod.sh]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/hg-prod.sh]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/ver]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/ver]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/site-data]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/site-data]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/hg-preprod.sh]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/hg-preprod.sh]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/logs]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/logs]: Skipping because of failed dependencies
Notice:
/Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/project.ini]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/project.ini]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/hg-create.sh]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/File[/home/hwebsite01/version/hg-create.sh]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/Exec[project-hwebsite-create]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/Exec[project-hwebsite-create]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/Exec[project-hwebsite-prod]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Hgproject::Project[hwebsite]/Exec[project-hwebsite-prod]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Vhost[hwebsite01]/File[/etc/httpd/conf.d/vhost.hivimax.com.conf]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Vhost[hwebsite01]/File[/etc/httpd/conf.d/vhost.hivimax.com.conf]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Vhost[hwebsite01-preprod]/File[/etc/httpd/conf.d/vhost.preprod.hivimax.com.conf]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Vhost[hwebsite01-preprod]/File[/etc/httpd/conf.d/vhost.preprod.hivimax.com.conf]: Skipping because of failed dependencies
Notice: /Stage[main]/Apache/Service[httpd]: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Apache/Service[httpd]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Htpasswd[bdc.hwebsite01]/Exec[test -f /etc/httpd/conf.d/htpasswd.hwebsite01 || OPT='-c'; htpasswd -b ${OPT} /etc/httpd/conf.d/htpasswd.hwebsite01 bdc 'covid19']: Dependency Package[MariaDB-server] has failures: true
Warning: /Stage[main]/Main/Hudon::Setup[hwebsite]/Apache::Htpasswd[bdc.hwebsite01]/Exec[test -f /etc/httpd/conf.d/htpasswd.hwebsite01 || OPT='-c'; htpasswd -b ${OPT} /etc/httpd/conf.d/htpasswd.hwebsite01 bdc 'covid19']: Skipping because of failed dependencies

I am getting these error after running ./update.sh as part of my puppet deployment process.

#!/bin/bash /usr/bin/puppet apply --modulepath=./modules ./manifests/$(hostname).pp

This is the content of update.sh.

And I am on a Linux version 2.6.32-754.29.2.el6.x86\_64.

When I run yum update I get:

Loaded plugins: fastestmirror, presto, replace Setting up Update Process Loading mirror speeds from cached hostfile YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination/ removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/centos-sclo-rh/mirrorlist.txt Error: Cannot find a valid baseurl for repo: centos-sclo-rh [root@dev01 ~]#

I am thinking the root cause of the problem is yum not getting the packages necessary when trying to install certain things, but I am not sure if that's the reason, because as far as I understand the update.sh script doesn't install anything.

https://redd.it/nxgp0c
@r_devops
Is it possible to run Active Directory Domain Service locally?

I work on an administrative portal that is heavily tied into active directory. Currently we use a test AD server that the entire team shares which makes it error prone since many people can be making changes. Is there a good way to run a AD server locally for testing and so we can isolate from each other?

https://redd.it/nxflbi
@r_devops
Beginner DevOps - Inherited Environment - Are these issues real or just a manifestation of my frustrations stemming from inexperience ?

I need to get some honest opinions about something that I've been thinking about. I want to make sure I'm thinking clearly and might be a bit too close to the problem to avoid confirmation bias (hey, at least I can admit it).


The Problem(s)
We're a Microsoft Windows / .Net shop . We're using a proprietary configuration tool that gives users the ability to view, create, and modify various application configurations that we've exposed through the web UI. This gets stored in the CM database.

My predecessors then utilized a combination of Chef with a bunch of third party cookbooks , PowerShell DSC with several open source modules, and some proprietary configuration tools written in C# to manage the various infrastructure configuration and application configuration.

Our release pipeline is Azure DevOps with a bunch of custom developed tasks (several of which are now using outdated or deprecated functionality) to deploy new releases. This part of the process is the lesser of my concern except, we need to refactor the custom tasks.


My Concern

My concerns are as follows:

Chef requires ruby knowledge and it's not a language I have a ton of familiarity with nor is it one that I'm very excited to learn. Looking at the cookbooks that were written by my predecessors, It has comments in it that indicates to me that they too were not well versed in Ruby. To add fuel to the fire, we're running an old, deprecated version of Chef which makes improvements near impossible. Getting buy in to upgrade the chef servers is difficult.

There are several third party cookbooks and modules in use, many of which are outdated or no longer maintained. We've upgraded our OS over the last 12 months and as a result, some of the PS modules we reference experience weird issues that I then have to mitigate. This issue can be helped through testing new versions of the OS, SQL server, and any related hotfixes or updates. This is something I intend to suggest, but my concern around third party cookbooks and modules remains. They save time, but they tend to add tech debt.


Our infrastructure management runs and release pipelines have become so large and cumbersome that they take longer to run than manually deploying in some instances. While the repeatability and predictability of the pipeline is still a major benefit, management sees time as money and expects better ROI.....and honestly.....so do I.


My Questions


1. Are my concerns unfounded ? Am I simply projecting my frustrations and making a mountain out of a mole hill or do I actually have valid concerns ?

2. I'm beginning to feel like Chef may not be the best tool for the job when it comes to infrastructure configuration. Maybe 10 years when most of this was first conceptualized by my predecessors it was....but today....I feel like Ansible + PowerShell would be the better choice. This would eliminate the need to learn Ruby which is great. I'd rather focus on learning GoLang and Python.
3. I'm concerned that infrastructure configuration and application configuration are too mixed together in our processes. Is this concern real or is this just how most DevOps shops handle something like this ?

​

Thanks in advance to those that take the time to read this monster post and provide feedback.

https://redd.it/nxj9l3
@r_devops