Comment by 030 on Configuring TCP services with nginx ingress on minikube/k8s
In particular, I want to use the webpack-dev-server from inside minikube. Could you explain why you would like to achieve this?
View ArticleComment by 030 on hosts file ignored, how to troubleshoot?
Possible duplicate of HOSTS file being ignored
View ArticleComment by 030 on How to provide the Terraform Cloud API token using an...
Could you add the commands you used to the Q&A to prevent that they get lost if the links get deprecated?
View ArticleComment by 030 on Puppet 4.10 Regex
According to me your Q&A is more on-topic on DevOps SE. SO and SF are about software and system engineering respectively.
View ArticleComment by 030 on How to migrate the sonatype-nexus repository from one...
Perhaps n3dr could be useful. More details have been added to the related Q&A.
View ArticleComment by 030 on How to set default Ansible username/password for SSH...
According the documentation it should be ansible_password. Tested it and that seems to work.
View ArticleComment by 030 on Install virt-sysprep on Ubuntu 14.04
No such file or directory - virt-sysprep (Errno::ENOENT)
View ArticleComment by 030 on Install virt-sysprep on Ubuntu 14.04
sudo apt-get install libguestfs-tools
View ArticleComment by 030 on How to backup GPG?
Use gpg --import ~/secret-backup.gpg to restore the exported private keys.
View ArticleComment by 030 on How do I configure proxy settings for LOCAL SYSTEM?
I had to use another ID than S-1-5-18 and I retrieved it by issuing: wmic useraccount get name,sid|findstr some-user-name.
View ArticleComment by 030 on Nginx: [emerg] "location" directive is not allowed here in...
stackoverflow.com/a/69979261/2777965
View ArticleHow to connect to Azure using Terraform?
Multiple values have been retrieved from the Azure portal and copied to the following file, e.g. A, B, C and D:main.tfprovider "azurerm" { subscription_id = "A" client_id = "B" client_secret = "C"...
View ArticleUnable to backup Windows directory using Bacula
Backup and restore works on LinuxBacula's Director (DIR), File Daemon (FD) and Storage Daemon (SD) have been installed on a Linux host, a backup has been run and the files could be restored.Backup...
View ArticleUnderstanding Exported Resources in Puppet
In order to understand exported resources in Puppet the following documentation was read. After reading the documentation the understanding was that exported resources consist of declaring and...
View ArticleCould not start ZK at requested port of 2181, while export...
ProblemThe first aim was to run HBase standalone. Navigating to ip:60010/master-status is succesfull once HBase has been started.The second aim is to run a distinct ZooKeeper quorum. ZooKeeper has been...
View ArticleHow to enable IAP for k8s on GCP?
Aim: to enable Identity Aware Proxy (IAP) in conjunction with Kubernetes (k8s).Methods:Two apps were deployedA SSL load balancer was put in frontWhen one navigates to domain/app1, app1 is shownThis...
View ArticleWhat is the correct syntax of defining role dependencies in the meta/main.yml...
meta/main.ymldependencies: - { role: 030.sensu-install }results in:[DEPRECATION WARNING]: The comma separated role spec format, use theyaml/explicit format instead..This feature will be removed in a...
View ArticleAnswer by 030 for What is the correct syntax of defining role dependencies in...
Updating the meta/main.yml according this snippet as follows:dependencies: - src: 030.firewall version: 0.1.0 name: 030.firewall - src: 030.sensu-client version: 0.4.1 name: 030.sensu-client - src:...
View ArticleHow to set MAILTO in cron using Puppet?
The expectation was that there would be a mailto attribute, but the this source denies thatcron { 'resource title': name => # (namevar) The symbolic name of the cron job. This name is ensure => #...
View ArticleWhat is the Ansible policy for defining variables and constants in the vars,...
I have read multiple documents including this one and checked multiple ansible roles on GitHub, but it is unclear to me when to define a variable and when one is defined where to put it, i.e. in the...
View ArticleAnswer by 030 for Migrate Sonatype Nexus repo from one machine to another
One could use N3DR for migrating maven artifacts from an old to a new Nexus repository. Perhaps this section could be helpful:"Clone" a Nexus3 repositorySuppose that one has created a new Nexus3...
View ArticleDoes it make sense to use `sensu-install` as it does not deploy checks in the...
[user@host ~]$ sudo sensu-install -p ansible[SENSU-INSTALL] installing Sensu plugins ...[SENSU-INSTALL] determining if Sensu plugin gem 'sensu-plugins-ansible' is already installed...
View ArticleHow to upgrade snap packages using Ansible?
The aim is to upgrade snap packages, e.g. n3dr and informado, using Ansible. The following task has been created:- name: Install various snap packages snap: name: - informado - n3drAttempts to solve...
View ArticleAnswer by 030 for Puppet Apply on Windows more than 28 times slower since...
Although it was unclear why this issue occurred. The comments could help people debugging similar Puppet issues.
View ArticlePuppet Apply on Windows more than 28 times slower since version 3.3
ProblemPuppet on Windows has been upgraded from 2.7.22 to 3.5.1 on Windows7.When puppet apply was executed it looked like puppet was stuck. A retry demonstrated the same behavior and the run finished...
View ArticleAnswer by 030 for Puppet Split function fails
Ticket closed and marked as "won't fix", see https://tickets.puppetlabs.com/browse/PUP-2612Henrik Lindberg added a comment - 2014/05/19 3:43 PM - editedAh, the next issue is that interpolation of...
View ArticlePuppet Split function fails
ProblemPuppet split function fails since Puppet has been upgraded puppet to version 3.5.1, while this worked until 3.4.3Code 1 $ports_regex = "80\\|443" 2 3 $ports_string = regsubst($ports_regex,...
View ArticleHow to generate a dummy GPG key by running a script for testing purposes?
I would like to create a GPG key for testing Nexus3 and N3DR. When I follow instructions like these, a key gets created and it could be used in the Continuous Integration (CI) as well. The question is...
View ArticleHow to access apps that have been deployed in k8s on Google Cloud Platform...
Aim: to access apps that reside in a kubernetes (k8s) namespace using an HTTP(S) Load Balancer (HLB)MethodsTCP load balancing (TLB) (layer 4)A k8s cluster has been created on Google Cloud Platform...
View ArticleAnswer by 030 for How to do an array or hash merge in Ansible?
First of all I had to define two different variables rather than using the same one, e.g. sensu_plugin_install. After giving the second dict a different name like sensu_plugin_install_other, the two...
View ArticleHow to do an array or hash merge in Ansible?
An ansible-sensu-plugin-install role has been created in order to install sensu-plugins using this code:- name: be sure sensu-plugins-{{ item.name }} is installed command: sensu-install -p {{ item.name...
View ArticleHow to check the content of an URI containing a Hash using Nagios' check_http?
Attemptcheck_http -H www.example.com -f follow -p 8080 -u /hello/#/world -s "content"ResultHTTP WARNING: HTTP/1.1 404 Not Found - X bytes in 0.00X second response time |time=0.00XYZAnalysisAlthough...
View ArticleHow to monitor Jenkins using Datadog?
The datadog plugin has been installed on Jenkins. Once installed the Datadog API key and hostname had to be entered in Jenkins. Both tests have been passed. However, when a new check has been added to...
View ArticleHow to copy all childs except one in Ansible?
This documentation explains how to copy files and directories using the copy module in Ansible. How to copy all childs except one?DiscussionThe options do not clarify how it could be done.Copying all...
View ArticleHow to disable automatic scheduled Puppet runs that occur every 30 minutes?
AimThe aim is to disable automatic Puppet-agent runs that occur every 30 minutes. It is possible to change the interval, but the automatic Puppet-agent runs should be disabled completely.Attempt...
View ArticleWhy is r10k called r10k? [closed]
I am using r10k for a while now. I wonder what r10k means.QuestionsWhy is the tool called r10k? Where does it stand for?Attempts to answer the questionNeither the puppet docs, nor the internet...
View ArticleAnswer by 030 for "No command specified" from re-imported docker image/container
Got it working with these additional steps:Create Dockerfile as follows:FROM ubuntu:importedENTRYPOINT ["/bin/bash"]Build new image:docker build -t ubuntu:importedwithdockerfile .Now it will run:docker...
View ArticleWhat command could be issued to check whether a ZooKeeper server is a Leader...
A ZooKeeper Quorum consisting of three ZooKeeper servers has been created.The zoo.cfg located on all three ZooKeeper servers looks as follows:maxClientCnxns=50# The number of milliseconds of each...
View ArticleHow to source admin credentials to gain access to admin-only CLI commands in...
According to this documentation the admin credentials need to be sourced as follows:[vagrant@localhost ~]$ source admin-openrc.sh-bash: admin-openrc.sh: No such file or directoryThe suspicion is that...
View ArticleWhy is NTP out of sync on servers that are hosted on Digital Ocean since the...
Since the daylight saving time the Sensu monitor indicates that the NTP of multiple servers that run on Digital Ocean (DO) are out of sync (12.345404ms-98.338222ms): CheckNTP WARNING: NTP offset by...
View ArticleIs it possible to notify a group of services instead of individual in Ansible?
- name: be sure check-http.rb is copied copy: src: /tmp/sensu-plugins-http/bin/check-http.rb dest: /etc/sensu/plugins/check-http.rb remote_src: true owner: sensu group: sensu mode: 0500 notify: -...
View Article
More Pages to Explore .....