Questions tagged [config]

Config files configure the initial settings for some computer programs

Configuration files, or config files configure the initial settings for some computer programs. They are used for user applications, server processes and operating system settings. They may be considered a simple database.

6120 questions
2
votes
1 answer

Startup.cs is not firing

I am trying to test my MVC project. For the sake of simplicity, in the Startup class I have: public static IConfiguration Configuration { get; set; } public Startup(IHostingEnvironment env) { // Setup configuration sources. var…
ebvtrnog
  • 4,167
  • 4
  • 31
  • 59
2
votes
1 answer

Keep config file secure using github and Elastic Beanstalk?

I am using github (public) to keep track of my web app and about to deploy it to Elastic Beanstalk. Is there a good way to keep my config file secure which has RDS username/password? I have to add the file to git in order to push it to Elastic…
E.K.
  • 4,179
  • 8
  • 30
  • 50
2
votes
3 answers

Provider dependancy not working in Config AngularJS

My code is given below. The below code shows dependancy error when executes following code. Any help would be great. Cookies dependancies also required... Error is Uncaught Error: [$injector:modulerr]…
Shamseer
  • 682
  • 1
  • 11
  • 24
2
votes
0 answers

Where to save a gem config file?

I'm writing a Ruby gem that will need an initial configuration (username, etc...). Where should I save this config file for it to be: portable (various Linux distros / OS X) not requiring sudo not inside the gem directory as the config should…
ilovebigmacs
  • 983
  • 16
  • 28
2
votes
1 answer

How to change Jenkins Config.xml properties on Mac

Trying to change Jenkins config.xml properties on Mac machine. File is locked. Also tried to unlock the file using Get Info and nothing is working. Still unable to unlock the file for edit. I do not want to do this from terminal even though that is…
DJD
  • 143
  • 2
  • 10
2
votes
2 answers

Grails - access data within Config.groovy whilst using variable in path

I know that to access a variable from within the Config.groovy file, grailsApplication.config.someValue.anotherValue I want to use a variable within this path because I want to get a URL from the config file. The value foo is passed in as a…
Sam Taylor
  • 275
  • 3
  • 13
2
votes
1 answer

How does ASP.NET compile config files, such as web.config or machine.config?

In reading this question, I asked in one of the answers the following: This answer implies that ASP.NET reads web.config and other config files from the top, ie: top-down. I thought config files were read as a "single instance" meaning that the…
Fandango68
  • 4,461
  • 4
  • 39
  • 74
2
votes
2 answers

Store execution result in java in properties file

I wrote a code in java to run some scripts which can return different result depending on the environment setup. I would like to store the result of every execution. I try with properties file but every time it executes, it overwrites the previous…
user3922604
  • 131
  • 1
  • 10
2
votes
1 answer

Ansible - Switch config file in task

So I'm basically trying to load the config files through an task so in the first part of the task it would use the configuration variables for domain 1 for example with the nginx vhost file and the second part it would use the configuration…
user3254198
  • 763
  • 6
  • 23
2
votes
2 answers

Is this the right way to have "global" parameters for my servlets?

If I have: SomeParam SomeValue in my web.xml, is this the servlet way of specifying options ( like in the way a config file is used ) , or am I doing…
Geo
  • 93,257
  • 117
  • 344
  • 520
2
votes
2 answers

Using $config array in MVC classes

I've done quite a bit of reading on this and a lot of people are saying I should be using a singleton class. I was thinking of writing a "Config" class which would include a "config.php" file on __construct and loop through the $config array values…
inkd
  • 1,421
  • 1
  • 13
  • 16
2
votes
1 answer

Where to save a configuration file in a Java project

So I need the client to store the server address etc... locally and also have it encrypted but where should the file be kept as I have tried putting it in the Program Files folder but I am getting an error. It works fine on mac but not windows. …
Hewiiitt
  • 306
  • 1
  • 12
2
votes
0 answers

Python config parser raises exception for one value but not others

I have the following method: def PopulateStaticDetails(args): confParser = ConfigParser.SafeConfigParser() confParser.read(args.configFile) generator = '' emails = '' certType = '' # ---- Cert Server Check ---- # if…
MrDuk
  • 16,578
  • 18
  • 74
  • 133
2
votes
2 answers

Hadoop how to allocate more memory per node

I have a Hadoop cluster running on 2 nodes(master and slave) each of which have 126GB RAM and 32 CPU. when I run my cluster i am only able to see 8 GB memory per node. How do I increase this? What would be the optimal memory to be allocated per…
Tweedy
  • 51
  • 1
  • 3
2
votes
1 answer

Setting up a Multi broker kafka on every node on a 5 node cluster

We have a sandbox that has 5 nodes with all five nodes running a kafka broker(broker id = 0) Now I have made copied of config files on all 5 nodes with distinct broker id's and log files directory to have multiple broker running -rw-r--r-- 1 root…
Suren Baskaran
  • 1,228
  • 1
  • 10
  • 17
1 2 3
99
100